package javabean;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UserTest {
    public static void main(String[] args){
        User user1 =new User("李四","女" ,18);
        User user=new User();
        user.setName("张山");
        user.setSex("男");
        user.setAge(12);
        log.info(user.toString());



        System.out.println(user.toString());
        System.out.println(user.equals(user1));
        System.out.println(user.hashCode());
        System.out.println(user1.hashCode());
    }
}
